package com.codeoss.framework.webide.request;

import java.util.List;
import java.util.Map;

import com.codeoss.framework.request.CommonRequest;

public class ModelFormPageRequest extends CommonRequest {
	private String tableName;
    private String name;
	private String packageName;
	private String extendsTable;
	private boolean abstractTable;
	private boolean view;
	private boolean auto;
	private String accessType;
	
	private String jsonContent;

	private List<Map<String,String>> modelAccessList;
	
	private boolean generateModel;
	private boolean generateDAO;
	private boolean generateService;
	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPackageName() {
		return packageName;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}

	public String getExtendsTable() {
		return extendsTable;
	}

	public void setExtendsTable(String extendsTable) {
		this.extendsTable = extendsTable;
	}

	public boolean isAbstractTable() {
		return abstractTable;
	}

	public void setAbstractTable(boolean abstractTable) {
		this.abstractTable = abstractTable;
	}

	public boolean isView() {
		return view;
	}

	public void setView(boolean view) {
		this.view = view;
	}

	public boolean isAuto() {
		return auto;
	}

	public void setAuto(boolean auto) {
		this.auto = auto;
	}

	public String getAccessType() {
		return accessType;
	}

	public void setAccessType(String accessType) {
		this.accessType = accessType;
	}

	public String getJsonContent() {
		return jsonContent;
	}

	public void setJsonContent(String jsonContent) {
		this.jsonContent = jsonContent;
	}

	public List<Map<String, String>> getModelAccessList() {
		return modelAccessList;
	}

	public void setModelAccessList(List<Map<String, String>> modelAccessList) {
		this.modelAccessList = modelAccessList;
	}

	public boolean isGenerateModel() {
		return generateModel;
	}

	public void setGenerateModel(boolean generateModel) {
		this.generateModel = generateModel;
	}

	public boolean isGenerateDAO() {
		return generateDAO;
	}

	public void setGenerateDAO(boolean generateDAO) {
		this.generateDAO = generateDAO;
	}

	public boolean isGenerateService() {
		return generateService;
	}

	public void setGenerateService(boolean generateService) {
		this.generateService = generateService;
	}
}
